<!DOCTYPE html>
<!--suppress ALL-->
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="~{layout/_header.html}">
<body>
<article class="page-container">
    <script type="text/javascript" charset="utf-8" src="/base/lib/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/base/lib/ueditor/ueditor.all.js"></script>

    <div id="editor" style="width:1024px;height:500px;"></div>
    <a href="#" onclick="submit()">提交</a>
    <script type="text/javascript">
        var ue = UE.getEditor('editor');

        function submit() {
            var content = ue.getContent();
            alert(content);
        }
    </script>

</article>
</body>
</html>